package com.smfx.yxt.service;

import java.util.List;

import com.smfx.yxt.model.ClassAlbum;
import com.smfx.yxt.page.Page;
import com.smfx.yxt.view.ClassAlbumView;

public interface IClassAlbumService {

	int insertSelective(ClassAlbum record);

    ClassAlbum selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ClassAlbum record);

    List<ClassAlbumView> selectListByPage(Page<ClassAlbumView> page);
    
    /**
     * 老师创建班级相册
     * @param record
     * @return
     */
    ClassAlbum createClassAlbum(ClassAlbum classAlbum);
    
    ClassAlbumView selectViewById(Integer id);
}
